<?php
// filename: /tmp/a.php

function c_test()
{
  var_dump(debug_backtrace());
}

function b_test()
{
  c_test();
}

function a_test($str)
{
    echo "\nHi: $str";
    
    b_test();
}

a_test('friend');
?>